ns_conf_download_policy
Configuration for NetScaler Configuration (ns.conf) Download Policy resource.
Read/write properties
interval_unit<String>
This property is deprecated, polling interval will be provided in minutes only<br>Frequency unit (Minutes).
polling_interval<Integer>
Frequency of polling in minutes.
Minimum value = 30
Maximum value =
ns_ip_address<String[]>
List of NetScaler IP Address.
Minimum length = 1
Maximum length = 64
act_id<String>
Activity ID that is used to track the polling status using resource poll_activity_status..
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/ns_conf_download_policy
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_conf_download_policy":[{
"interval_unit":<String_value>,
"polling_interval":<Integer_value>,
"ns_ip_address":<String_value>,
"act_id":<String_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/ns_conf_download_policy/
HTTPS Method:PUT
Request Headers:
Content-Type:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Request Payload:JSON
{"ns_conf_download_policy":{
"polling_interval":<Integer_value>,
"interval_unit":<String_value>,
"ns_ip_address":<String_value[]>,
"act_id":<String_value>}}
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_conf_download_policy":[{
"interval_unit":<String_value>,
"polling_interval":<Integer_value>,
"ns_ip_address":<String_value>,
"act_id":<String_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/ns_conf_download_policy?action=do_poll&onerror=<String_value>
HTTPS Method:POST
Request Headers:
Content-Type:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Request Payload:JSON
{"ns_conf_download_policy": {
"polling_interval":<Integer_value>,
"act_id":<String_value>,
"ns_ip_address":<String_value[]>,
"interval_unit":<String_value>}}
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_conf_download_policy":[{
"interval_unit":<String_value>,
"polling_interval":<Integer_value>,
"ns_ip_address":<String_value>,
"act_id":<String_value>}]}